<?php
include_once 'qywx_robot.php';
function robot_notify($message) {
  $robot_url = 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=35db9309-fa90-4170-af09-4d27a7715b02'; //TREX
  // $robot_url = 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=4c8905e2-5e6c-4f07-bead-a287893021b2'; //TEST
  $result = send_text($message, [], $robot_url);
  return $result;
}